package com.sa07.bean;

import java.io.Serializable;
import java.util.List;

/**
 * 测试项bean
 * 
 * @author Long.shangbo
 * 
 *         2014-2-18 下午7:27:02
 */
public class TestItemBean implements Serializable {

	private static final long serialVersionUID = -502200590598749064L;

	/**
	 * 测试项id
	 */
	private int testItemId = 0;

	/**
	 * 测试项类型
	 */
	private int testItemType = 0;

	/**
	 * 测试项名称
	 */
	private String testItemName = "";

	/**
	 * 超时时间
	 */
	private long testTimeout = 10000;

	private List<TestSubItem> testSubItems = null;

	public int getTestItemId() {
		return testItemId;
	}

	public void setTestItemId(int testItemId) {
		this.testItemId = testItemId;
	}

	public int getTestItemType() {
		return testItemType;
	}

	public void setTestItemType(int testItemType) {
		this.testItemType = testItemType;
	}

	public String getTestItemName() {
		return testItemName;
	}

	public void setTestItemName(String testItemName) {
		this.testItemName = testItemName;
	}

	public long getTestTimeout() {
		return testTimeout;
	}

	public void setTestTimeout(long testTimeout) {
		this.testTimeout = testTimeout;
	}
	
	public List<TestSubItem> getTestSubItems() {
		return testSubItems;
	}

	public void setTestSubItems(List<TestSubItem> testSubItems) {
		this.testSubItems = testSubItems;
	}

	public TestItemBean(int testItemId, int testItemType, String testItemName,
			long testTimeout, List<TestSubItem> testSubItems) {
		super();
		this.testItemId = testItemId;
		this.testItemType = testItemType;
		this.testItemName = testItemName;
		this.testTimeout = testTimeout;
		this.testSubItems = testSubItems;
	}

	public TestItemBean() {
		super();
	}
}
